import http from "../utils/http/service";

//获取A类和B类土建项目的项目信息
export const getProjectInfo = (data): any => {
  return http.post(`/snow-admin/projectSection/report/proPanel/top`, data);
};

//获取土建类验收概览
export const getSectionInfo = (data): any => {
  return http.post(
    `/snow-admin/projectSection/report/proPanel/compRateBySec`,
    data
  );
};

//获取验收类型提单量数据
export const getAccTypeInfo = (data): any => {
  return http.post(
    `/snow-admin/projectSection/report/proPanel/accType/statistics`,
    data
  );
};

//获取A类、B类土建【项目】面板-设备类事项概览-事项状态概览 报表接口
export const getEquipPreview = (data): any => {
  return http.post(
    `/snow-admin/projectSection/report/proPanel/device/taskStatus`,
    data
  );
};

//A类、B类土建【项目】面板-设备类事项概览-各标段事项进度 报表接口
export const getEquipStageProcess = (data): any => {
  return http.post(
    `/snow-admin/projectSection/report/proPanel/stage/process`,
    data
  );
};

//A类、B类土建【项目】面板-设备类事项概览-各标段事项进度 报表接口
export const getEquipSectionProcess = (data): any => {
  return http.post(
    `/snow-admin/projectSection/report/proPanel/section/taskStatus`,
    data
  );
};

//A类、B类土建【项目】面板-验收项排名 报表接口
export const getDashboardRank = (data): any => {
  return http.post(
    `/snow-admin/projectSection/report/proPanel/accType/sectionComplete`,
    data
  );
};
